Added indentation support for continuation of dotted expressions
author=?UTF-8?q?Fabi=C3=A1n=20Ezequiel=20Gallina?= <fgallina@cuca>
Thu, 17 May 2012 03:03:08 +0000 (00:03 -0300)
committerFabián Ezequiel Gallina <fabian@anue.biz>
Thu, 17 May 2012 03:03:08 +0000 (00:03 -0300)
commit162df03301ec8822f750a55ff3ab49e244028d4f
tree8c0866762f153752149acbc0cc2c113b2b4e3b47
parent6b0e577188d4ce4722aecea5de870b19ce2a990a
Added indentation support for continuation of dotted expressions

Expressions like these are now supported and indented correctly:

    Object.objects.exclude(foo=1)\
                  .filter(bar=2)\
                  .values_list('baz')

Also added a small fix to python-info-assignment-continuation-line-p
to check the match for the operator is not inside some paren.
lisp/progmodes/python.el